package cn.wolfcode.trip.base.domain;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.util.ArrayList;
import java.util.List;

@Getter
@Setter
@ToString
public class Questionnaire extends BaseDomain{
    //问题的内容
    private String name;
    //关联答案
    private List<Answer> answers =new ArrayList<>();
    //用户方便封装关联表的查询数据
    private Answer answer;
    //关联用户
    private User user;
}